<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="jquery-2.0.0.min.js"></script>
    <style>
        * {
      margin: 0;
      padding: 0;
    }
    ul {
      list-style: none;
    }
    .wrapper{
        display: flex;
        margin-left: 600px;
    }
    img{
        width: 600px;
        height: 600px;
        position: relative;
    }
    #cen #center{
        width: 600px;
        height:600px;

    }  
    #left li {
        font-size: 60px;
        margin-bottom:300px; 

    }
    #right li{
        font-size: 60px;
        margin-bottom:300px; 


    }
    </style>
</head>
<body>
    <script>
        $(function(){
            $("#left>li").mouseenter(function(){
                var index=$(this).index();
                //隐藏所有li
                $("#center>li").hide();
                $("#center>li:eq("+index+")").show(1000);
            });

            $("#right>li").mouseenter(function(){
                console.log("111")
                var index=$(this).index()+2;
                $("#center>li").hide();
                $("#center>li:eq("+index+")").show(1000);
            });
        });
        
    </script>
    <div class="wrapper">
        <ul id="left">
            <li>one</li>
            <li>two</li>
        </ul>
        <div id="cen">
            <ul id="center">
                <li><a href=""><img src="./images/1.jpg" alt=""></a></li>
                <li><a href=""><img src="./images/2.jpg" alt=""></a></li>
                <li><a href=""><img src="./images/3.jpg" alt=""></a></li>
                <li><a href=""><img src="./images/1.jpg" alt=""></a></li>
            </ul >
        </div>
        <ul id="right">
            <li>three</li>
            <li>four</li>
        </ul>
    </div>
</body>
</html>